package com.bt.table.ppt;

/**
 * Bpm_ret_mas_dataId entity. @author MyEclipse Persistence Tools
 */

public class Bpm_ret_mas_dataId implements java.io.Serializable {

	// Fields

	private String flow_seq_id;
	private Integer data_seq_id;

	// Constructors

	/** default constructor */
	public Bpm_ret_mas_dataId() {
	}

	/** full constructor */
	public Bpm_ret_mas_dataId(String flow_seq_id, Integer data_seq_id) {
		this.flow_seq_id = flow_seq_id;
		this.data_seq_id = data_seq_id;
	}

	// Property accessors

	public String getFlow_seq_id() {
		return this.flow_seq_id;
	}

	public void setFlow_seq_id(String flow_seq_id) {
		this.flow_seq_id = flow_seq_id;
	}

	public Integer getData_seq_id() {
		return this.data_seq_id;
	}

	public void setData_seq_id(Integer data_seq_id) {
		this.data_seq_id = data_seq_id;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bpm_ret_mas_dataId))
			return false;
		Bpm_ret_mas_dataId castOther = (Bpm_ret_mas_dataId) other;

		return ((this.getFlow_seq_id() == castOther.getFlow_seq_id()) || (this
				.getFlow_seq_id() != null && castOther.getFlow_seq_id() != null && this
				.getFlow_seq_id().equals(castOther.getFlow_seq_id())))
				&& ((this.getData_seq_id() == castOther.getData_seq_id()) || (this
						.getData_seq_id() != null
						&& castOther.getData_seq_id() != null && this
						.getData_seq_id().equals(castOther.getData_seq_id())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getFlow_seq_id() == null ? 0 : this.getFlow_seq_id()
						.hashCode());
		result = 37
				* result
				+ (getData_seq_id() == null ? 0 : this.getData_seq_id()
						.hashCode());
		return result;
	}

}